package leona.com;

import java.util.Scanner;

public class Main {

    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        System.out.println("请你输入一个字符串：");
        String line = sc.nextLine();

        //首先用line.charAt() 获取字符串中的每个字符; line.length() 获取字符串的长度
        for (int i = 0; i < line.length(); i++) {
            System.out.println(line.charAt(i));
        }
        System.out.print("hello");
    }
}